home *** CD-ROM | disk | FTP | other *** search
/ Sounds Terrific 1 / Sounds Terrific CD (1994)(Weird Science)(Disc 2 of 2)[!][Amiga-PC].iso / modules / f / fbloop.mod < prev    next >
Encoding:
Text File  |  1994-08-04  |  3.3 KB  |  95 lines

  1. Feedback.Mod
  2. Alf #223 @850
  3. 1Tue., 3December 210, 51991 711:46 pm 2[JST]
  4.                                Feedback Loop Mod
  5.                                    by: Æ£ƒ
  6.                             (idea by:  Skull Leader)
  7.  
  8.    Description:  Ever have a user abort the newuser feedback?  Well, what
  9.    this does is loops them right back into the e-mail and gives them a little
  10.    message, "You Must Leave Me Feedback".  I saw something like this before,
  11.    but it automatically deleted the user, I want to give them another chance
  12.    in case they aborted it to start over (yeah right!), but this will loop
  13.    them forever....
  14.  
  15.    =   Exsisting code
  16.    +   Add
  17.  
  18.    For: 4.12 and 4.20 (tested on both!)
  19.  
  20.    Files affected: NEWUSER.C and FCNS.H
  21.  
  22.    Disclaimer:  I did'nt eat it!  Sure, I know it's bad
  23.    to keep putting in voids but, what the hey, thats all i know...
  24. -----------------------------------------------------------------------------
  25. STEP 1
  26.  
  27.     Load up NEWUSER.C and at the very bottom......
  28.  
  29. =   if (incom) {
  30. =     if (printfile("FEEDBACK.MSG"))
  31. =       sl1(0,"#Aborted FEEDBACK.MSG");
  32. =     sprintf(irt,"Validation Feedback (%d slots left)",syscfg.maxusers-status.users);
  33. =     email(1,0,1,0);
  34. +     if (thisuser.feedbacksent==0) {
  35. +        feedmea();
  36. +      }
  37. =   }
  38. =   if (syscfg.newuser_c[0]) {
  39. =     stuff_in(s,syscfg.newuser_c,create_chain_file("CHAIN.TXT"),"","","","");
  40. =     full_external(s,0,1);
  41. -----------------------------------------------------------------------------
  42. STEP 2
  43.  
  44.     Block read in the following two voids at the end of NEWUSER.C
  45.  
  46. void feedmea()
  47. {
  48.       sysoplog("* * * TRIED to abort Feedback message!!! * * *");
  49.       nl();
  50.       nl();
  51.       prt(6,"                         You Must Leave Me Feedback!");
  52.       sprintf(irt,"Validation Feedback (%d slots left)",syscfg.maxusers-status.users);
  53.       email(1,0,1,0);
  54.       if (thisuser.feedbacksent==0) {
  55.          feedmeb();
  56.     }
  57. }
  58.  
  59. void feedmeb()
  60. {
  61.       sysoplog("* * * TRIED to abort Feedback message!!! * * *");
  62.       nl();
  63.       nl();
  64.       prt(6,"                         You Must Leave Me Feedback!");
  65.       sprintf(irt,"Validation Feedback (%d slots left)",syscfg.maxusers-status.users);
  66.       email(1,0,1,0);
  67.       if (thisuser.feedbacksent==0) {
  68.          feedmea();
  69.        }
  70. }
  71. -----------------------------------------------------------------------------
  72. STEP 3
  73.  
  74.     Load up FCNS.H search for /* File: newuser.c */
  75.  
  76. +    void feedmea();
  77. +    void feedmeb();
  78. -----------------------------------------------------------------------------
  79. STEP 4
  80.  
  81.     Be sure to remove the = and + they tend to create errors!!!
  82.  
  83.     Now, recompile the BBS, go take a shower and come back it will be done...
  84.  
  85. Tip:  If you are using the full screen editor that clears the screen, you may
  86.       want to add a few pausescr(); so the user will be able to read the
  87.       "You Must Leave Me Feedback!" line....
  88.  
  89.       You can add colors to the sysop log by putting hearts and a number
  90.       0-7.....
  91.                                                      Æ£ƒ
  92. 9
  93. 9          7░▒▓█ 3The 2Sandbox 5][  114.4 USR DS ARQ/HST/v42 5WWIVnet 7█▓▒░
  94. 8          7░▒▓█  1011-81-611-7336769   3Okinawa, Japan   5Node 850 7█▓▒░
  95. 72         A bird in the hand makes it awfully hard to blow your nose.